﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Bas;
using nERP.Model;

namespace nERP.ViewModel.Bas.WarehouseVMs
{
    public partial class WarehouseBatchVM : BaseBatchVM<Warehouse, Warehouse_BatchEdit>
    {
        public WarehouseBatchVM()
        {
            ListVM = new WarehouseListVM();
            LinkedVM = new Warehouse_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Warehouse_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Warehouse._WarehouseName")]
        public string WarehouseName { get; set; }
        [Display(Name = "_Model._Warehouse._Address")]
        public string Address { get; set; }
        [Display(Name = "_Model._Warehouse._StorageFee")]
        public decimal? StorageFee { get; set; }
        [Display(Name = "_Model._Warehouse._ChargePerson")]
        public string ChargePersonId { get; set; }
        [Display(Name = "_Model._Warehouse._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}